package cn.kgc.tangcco.work01_10.pojo;

import java.util.List;

public class Classes {
    private Integer id;

     private  String cname;


     private List<Faqs> faqs;

    @Override
    public String toString() {
        return "Classes{" +
                "id=" + id +
                ", cname='" + cname + '\'' +
                ", faqs=" + faqs +
                '}';
    }

    public List<Faqs> getFaqs() {
        return faqs;
    }

    public void setFaqs(List<Faqs> faqs) {
        this.faqs = faqs;
    }

    public Classes() {
    }

    public Classes(Integer id, String cname, List<Faqs> faqs) {
        this.id = id;
        this.cname = cname;
        this.faqs = faqs;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

}
